package com.yantong.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yantong.pojo.vo.CentreCategoryVo;
import com.yantong.utils.DateUtils;
import com.yantong.utils.PageUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 商户信息
 *
 * @author kanghaixin
 */
public class Centre {

	private Long renewMid;//续费人用户id

	private Integer chargeType;//版本收费类型 0-试用 1-按天收费

	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date expiredDate;//过期时间

	private String feieyunUser;//飞鹅云后台注册账号

	private String feieyunUkey;//飞鹅云后台注册账号后生成的UKEY

	private String brandName;//餐道品牌名称

	private String candaoKey;//餐道key

	private String candaoSecret;//餐道秘钥

	private Integer isVirtual = 0;//是否虚拟 0-否 1-是

	private Long orderId;

	private Long pcate;

	private Long ccate;

	private BigDecimal lon;

	private BigDecimal lat;

	private String province;

	private String city;

	private String area;

	private String address;

	private String busiLicenseImg;

	private String handIdPhoto;

	private String otherLicenseImg;

	private List<CentreCategoryVo> ccategoryList;

	private BigDecimal grade;

	private Integer salesAvg;//人均

	private Integer orderTotal;//已售

	private Integer juli = 0;//距离

	private String pcateName;//一级分类名称

	private String ccateName;//二级分类名称

	private Integer isCollect = 0;//是否收藏 0-未收藏 1-已收藏

	private PageUtils<Ticket> ticketList;//优惠券列表

	private String signageImg;//店招图

	private String logo;

	private String qrCode;//二维码

	private String workStart;//营业时间始

	private String workEnd;//营业时间止

	private String payMerchantNo;//第三方支付公司商户号

	private String payPrivateKey;//第三方支付公司私钥

	private String payPublicKey;//第三方支付公司公钥

	private String payOrgid;//第三方支付公司组织id

	private String dfPrivateKey;//第三方支付公司代付私钥

	private String dfPublicKey;//第三方支付公司代付公钥

	private String dfMerchantNo;//第三方支付公司代付商户号

	private String gzhAppid;
	private String gzhSecret;

	//商户终端id以,分隔
	private String terminalIds;
	//商户行业id
	private String industryId;

	private List<CentreTerminal> centreTerminalList;
	private CentreIndustry centreIndustry;

	private Double deductionRatio; //线上扣点比例
	private Double offlineDeductionRatio;//线下扣点比例

	private String yplPublicKey;
	private String yplPrivateKey;
	private String yplPrivateKeyPwd;
	private String yplCustomerCode;
	private String yplSignNo;
	private Double yplServiceRate;

	public Double getYplServiceRate() {
		return yplServiceRate;
	}

	public void setYplServiceRate(Double yplServiceRate) {
		this.yplServiceRate = yplServiceRate;
	}

	public Double getOfflineDeductionRatio() {
		return offlineDeductionRatio;
	}

	public void setOfflineDeductionRatio(Double offlineDeductionRatio) {
		this.offlineDeductionRatio = offlineDeductionRatio;
	}

	public String getYplPublicKey() {
		return yplPublicKey;
	}

	public void setYplPublicKey(String yplPublicKey) {
		this.yplPublicKey = yplPublicKey;
	}

	public String getYplPrivateKey() {
		return yplPrivateKey;
	}

	public void setYplPrivateKey(String yplPrivateKey) {
		this.yplPrivateKey = yplPrivateKey;
	}

	public String getYplPrivateKeyPwd() {
		return yplPrivateKeyPwd;
	}

	public void setYplPrivateKeyPwd(String yplPrivateKeyPwd) {
		this.yplPrivateKeyPwd = yplPrivateKeyPwd;
	}

	public String getYplCustomerCode() {
		return yplCustomerCode;
	}

	public void setYplCustomerCode(String yplCustomerCode) {
		this.yplCustomerCode = yplCustomerCode;
	}

	public String getYplSignNo() {
		return yplSignNo;
	}

	public void setYplSignNo(String yplSignNo) {
		this.yplSignNo = yplSignNo;
	}

	public Double getDeductionRatio() {
		return deductionRatio;
	}

	public void setDeductionRatio(Double deductionRatio) {
		this.deductionRatio = deductionRatio;
	}

	public List<CentreTerminal> getCentreTerminalList() {
		return centreTerminalList;
	}

	public void setCentreTerminalList(List<CentreTerminal> centreTerminalList) {
		this.centreTerminalList = centreTerminalList;
	}


	public CentreIndustry getCentreIndustry() {
		return centreIndustry;
	}

	public void setCentreIndustry(CentreIndustry centreIndustry) {
		this.centreIndustry = centreIndustry;
	}

	public String getPayMerchantNo() {
		return payMerchantNo;
	}

	public void setPayMerchantNo(String payMerchantNo) {
		this.payMerchantNo = payMerchantNo;
	}

	public String getPayPrivateKey() {
		return payPrivateKey;
	}

	public void setPayPrivateKey(String payPrivateKey) {
		this.payPrivateKey = payPrivateKey;
	}

	public String getPayPublicKey() {
		return payPublicKey;
	}

	public void setPayPublicKey(String payPublicKey) {
		this.payPublicKey = payPublicKey;
	}

	public String getPayOrgid() {
		return payOrgid;
	}

	public void setPayOrgid(String payOrgid) {
		this.payOrgid = payOrgid;
	}

	public String getDfPrivateKey() {
		return dfPrivateKey;
	}

	public void setDfPrivateKey(String dfPrivateKey) {
		this.dfPrivateKey = dfPrivateKey;
	}

	public String getDfPublicKey() {
		return dfPublicKey;
	}

	public void setDfPublicKey(String dfPublicKey) {
		this.dfPublicKey = dfPublicKey;
	}

	public String getDfMerchantNo() {
		return dfMerchantNo;
	}

	public void setDfMerchantNo(String dfMerchantNo) {
		this.dfMerchantNo = dfMerchantNo;
	}

	private Integer hide;//隐藏
	/**
	 * 售卖区域
	 */
	private String saleAreas;
	/**
	 * 商户商品审核开关
	 */
	private Integer verify;
	/**
	 * 商户账户信息
	 */
	private CentreAmount centreAmount;

	/**
	 * 打款期限
	 */
	private Integer paymentdays;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.centre_id
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private Long centreId;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.name
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String name;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.short_name
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String shortName;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.deposit_bank
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String depositBank;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.bank_no
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String bankNo;

	private BigDecimal projectexpPrice;


	public Integer getHide() {
		return hide;
	}

	public void setHide(Integer hide) {
		this.hide = hide;
	}

	public BigDecimal getProjectexpPrice() {
		return projectexpPrice;
	}

	public void setProjectexpPrice(BigDecimal projectexpPrice) {
		this.projectexpPrice = projectexpPrice;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.busi_license
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String busiLicense;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.busi_category
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String busiCategory;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.regist_capital
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String registCapital;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.regist_date
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date registDate;

	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date checktime;


	public Date getChecktime() {
		return checktime;
	}

	public void setChecktime(Date checktime) {
		this.checktime = checktime;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.legal_name
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String legalName;

	private String amount;//账户余额

	private Long mid;

	private Integer payStatus;
	private Long projectexpId;//版本id

	private String projectexpName;//版本名称

	private Integer serviceDays;


	public Long getProjectexpId() {
		return projectexpId;
	}

	public void setProjectexpId(Long projectexpId) {
		this.projectexpId = projectexpId;
	}

	public String getProjectexpName() {
		return projectexpName;
	}

	public void setProjectexpName(String projectexpName) {
		this.projectexpName = projectexpName;
	}


	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.legal_no
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String legalNo;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.controller
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String controller;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.controller_no
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String controllerNo;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.regist_address
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String registAddress;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.network
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String network;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.relate_account
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String relateAccount;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.account_tel
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String accountTel;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.account_mobile
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String accountMobile;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.account_email
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String accountEmail;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.relate_busi
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String relateBusi;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.busi_tel
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String busiTel;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.busi_mobile
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String busiMobile;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.busi_email
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String busiEmail;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.type
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String type;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.create_time
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private Date createTime;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.status
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String status;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_centre.desc
	 *
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	private String desc;

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.centre_id
	 *
	 * @return the value of t_centre.centre_id
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public Long getCentreId() {
		return centreId;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.centre_id
	 *
	 * @param centreId the value for t_centre.centre_id
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setCentreId(Long centreId) {
		this.centreId = centreId;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.name
	 *
	 * @return the value of t_centre.name
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.name
	 *
	 * @param name the value for t_centre.name
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.short_name
	 *
	 * @return the value of t_centre.short_name
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getShortName() {
		return shortName;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.short_name
	 *
	 * @param shortName the value for t_centre.short_name
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setShortName(String shortName) {
		this.shortName = shortName == null ? null : shortName.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.deposit_bank
	 *
	 * @return the value of t_centre.deposit_bank
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getDepositBank() {
		return depositBank;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.deposit_bank
	 *
	 * @param depositBank the value for t_centre.deposit_bank
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setDepositBank(String depositBank) {
		this.depositBank = depositBank == null ? null : depositBank.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.bank_no
	 *
	 * @return the value of t_centre.bank_no
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getBankNo() {
		return bankNo;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.bank_no
	 *
	 * @param bankNo the value for t_centre.bank_no
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setBankNo(String bankNo) {
		this.bankNo = bankNo == null ? null : bankNo.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.busi_license
	 *
	 * @return the value of t_centre.busi_license
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getBusiLicense() {
		return busiLicense;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.busi_license
	 *
	 * @param busiLicense the value for t_centre.busi_license
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setBusiLicense(String busiLicense) {
		this.busiLicense = busiLicense == null ? null : busiLicense.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.busi_category
	 *
	 * @return the value of t_centre.busi_category
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getBusiCategory() {
		return busiCategory;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.busi_category
	 *
	 * @param busiCategory the value for t_centre.busi_category
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setBusiCategory(String busiCategory) {
		this.busiCategory = busiCategory == null ? null : busiCategory.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.regist_capital
	 *
	 * @return the value of t_centre.regist_capital
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getRegistCapital() {
		return registCapital;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.regist_capital
	 *
	 * @param registCapital the value for t_centre.regist_capital
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setRegistCapital(String registCapital) {
		this.registCapital = registCapital == null ? null : registCapital.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.regist_date
	 *
	 * @return the value of t_centre.regist_date
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public Date getRegistDate() {
		return registDate;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.regist_date
	 *
	 * @param registDate the value for t_centre.regist_date
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setRegistDate(Date registDate) {
		this.registDate = registDate;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.legal_name
	 *
	 * @return the value of t_centre.legal_name
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getLegalName() {
		return legalName;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.legal_name
	 *
	 * @param legalName the value for t_centre.legal_name
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setLegalName(String legalName) {
		this.legalName = legalName == null ? null : legalName.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.legal_no
	 *
	 * @return the value of t_centre.legal_no
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getLegalNo() {
		return legalNo;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.legal_no
	 *
	 * @param legalNo the value for t_centre.legal_no
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setLegalNo(String legalNo) {
		this.legalNo = legalNo == null ? null : legalNo.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.controller
	 *
	 * @return the value of t_centre.controller
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getController() {
		return controller;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.controller
	 *
	 * @param controller the value for t_centre.controller
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setController(String controller) {
		this.controller = controller == null ? null : controller.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.controller_no
	 *
	 * @return the value of t_centre.controller_no
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getControllerNo() {
		return controllerNo;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.controller_no
	 *
	 * @param controllerNo the value for t_centre.controller_no
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setControllerNo(String controllerNo) {
		this.controllerNo = controllerNo == null ? null : controllerNo.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.regist_address
	 *
	 * @return the value of t_centre.regist_address
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getRegistAddress() {
		return registAddress;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.regist_address
	 *
	 * @param registAddress the value for t_centre.regist_address
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setRegistAddress(String registAddress) {
		this.registAddress = registAddress == null ? null : registAddress.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.network
	 *
	 * @return the value of t_centre.network
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getNetwork() {
		return network;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.network
	 *
	 * @param network the value for t_centre.network
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setNetwork(String network) {
		this.network = network == null ? null : network.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.relate_account
	 *
	 * @return the value of t_centre.relate_account
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getRelateAccount() {
		return relateAccount;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.relate_account
	 *
	 * @param relateAccount the value for t_centre.relate_account
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setRelateAccount(String relateAccount) {
		this.relateAccount = relateAccount == null ? null : relateAccount.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.account_tel
	 *
	 * @return the value of t_centre.account_tel
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getAccountTel() {
		return accountTel;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.account_tel
	 *
	 * @param accountTel the value for t_centre.account_tel
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setAccountTel(String accountTel) {
		this.accountTel = accountTel == null ? null : accountTel.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.account_mobile
	 *
	 * @return the value of t_centre.account_mobile
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getAccountMobile() {
		return accountMobile;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.account_mobile
	 *
	 * @param accountMobile the value for t_centre.account_mobile
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setAccountMobile(String accountMobile) {
		this.accountMobile = accountMobile == null ? null : accountMobile.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.account_email
	 *
	 * @return the value of t_centre.account_email
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getAccountEmail() {
		return accountEmail;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.account_email
	 *
	 * @param accountEmail the value for t_centre.account_email
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setAccountEmail(String accountEmail) {
		this.accountEmail = accountEmail == null ? null : accountEmail.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.relate_busi
	 *
	 * @return the value of t_centre.relate_busi
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getRelateBusi() {
		return relateBusi;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.relate_busi
	 *
	 * @param relateBusi the value for t_centre.relate_busi
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setRelateBusi(String relateBusi) {
		this.relateBusi = relateBusi == null ? null : relateBusi.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.busi_tel
	 *
	 * @return the value of t_centre.busi_tel
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getBusiTel() {
		return busiTel;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.busi_tel
	 *
	 * @param busiTel the value for t_centre.busi_tel
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setBusiTel(String busiTel) {
		this.busiTel = busiTel == null ? null : busiTel.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.busi_mobile
	 *
	 * @return the value of t_centre.busi_mobile
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getBusiMobile() {
		return busiMobile;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.busi_mobile
	 *
	 * @param busiMobile the value for t_centre.busi_mobile
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setBusiMobile(String busiMobile) {
		this.busiMobile = busiMobile == null ? null : busiMobile.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.busi_email
	 *
	 * @return the value of t_centre.busi_email
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getBusiEmail() {
		return busiEmail;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.busi_email
	 *
	 * @param busiEmail the value for t_centre.busi_email
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setBusiEmail(String busiEmail) {
		this.busiEmail = busiEmail == null ? null : busiEmail.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.type
	 *
	 * @return the value of t_centre.type
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getType() {
		return type;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.type
	 *
	 * @param type the value for t_centre.type
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.create_time
	 *
	 * @return the value of t_centre.create_time
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.create_time
	 *
	 * @param createTime the value for t_centre.create_time
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.status
	 *
	 * @return the value of t_centre.status
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.status
	 *
	 * @param status the value for t_centre.status
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_centre.desc
	 *
	 * @return the value of t_centre.desc
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public String getDesc() {
		return desc;
	}

	public Integer getPaymentdays() {
		return paymentdays;
	}

	public void setPaymentdays(Integer paymentdays) {
		this.paymentdays = paymentdays;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_centre.desc
	 *
	 * @param desc the value for t_centre.desc
	 * @mbggenerated Fri Aug 24 15:28:42 CST 2018
	 */
	public void setDesc(String desc) {
		this.desc = desc == null ? null : desc.trim();
	}

	public CentreAmount getCentreAmount() {
		return centreAmount;
	}

	public void setCentreAmount(CentreAmount centreAmount) {
		this.centreAmount = centreAmount;
	}

	public Integer getVerify() {
		return verify;
	}

	public void setVerify(Integer verify) {
		this.verify = verify;
	}

	public String getSaleAreas() {
		return saleAreas;
	}

	public void setSaleAreas(String saleAreas) {
		this.saleAreas = saleAreas;
	}

	public Integer getJuli() {
		return juli;
	}

	public void setJuli(Integer juli) {
		this.juli = juli;
	}

	public Integer getSalesAvg() {
		return salesAvg;
	}

	public void setSalesAvg(Integer salesAvg) {
		this.salesAvg = salesAvg;
	}

	public Integer getOrderTotal() {
		return orderTotal;
	}

	public void setOrderTotal(Integer orderTotal) {
		this.orderTotal = orderTotal;
	}

	public Long getPcate() {
		return pcate;
	}

	public void setPcate(Long pcate) {
		this.pcate = pcate;
	}

	public Long getCcate() {
		return ccate;
	}

	public void setCcate(Long ccate) {
		this.ccate = ccate;
	}

	public BigDecimal getLon() {
		return lon;
	}

	public void setLon(BigDecimal lon) {
		this.lon = lon;
	}

	public BigDecimal getLat() {
		return lat;
	}

	public void setLat(BigDecimal lat) {
		this.lat = lat;
	}

	public List<CentreCategoryVo> getCcategoryList() {
		return ccategoryList;
	}

	public void setCcategoryList(List<CentreCategoryVo> ccategoryList) {
		this.ccategoryList = ccategoryList;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBusiLicenseImg() {
		return busiLicenseImg;
	}

	public void setBusiLicenseImg(String busiLicenseImg) {
		this.busiLicenseImg = busiLicenseImg;
	}

	public String getHandIdPhoto() {
		return handIdPhoto;
	}

	public void setHandIdPhoto(String handIdPhoto) {
		this.handIdPhoto = handIdPhoto;
	}

	public String getOtherLicenseImg() {
		return otherLicenseImg;
	}

	public void setOtherLicenseImg(String otherLicenseImg) {
		this.otherLicenseImg = otherLicenseImg;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public String getWorkStart() {
		return workStart;
	}

	public void setWorkStart(String workStart) {
		this.workStart = workStart;
	}

	public String getWorkEnd() {
		return workEnd;
	}

	public void setWorkEnd(String workEnd) {
		this.workEnd = workEnd;
	}

	public String getSignageImg() {
		return signageImg;
	}

	public void setSignageImg(String signageImg) {
		this.signageImg = signageImg;
	}

	public BigDecimal getGrade() {
		return grade;
	}

	public void setGrade(BigDecimal grade) {
		this.grade = grade;
	}

	public PageUtils<Ticket> getTicketList() {
		return ticketList;
	}

	public void setTicketList(PageUtils<Ticket> ticketList) {
		this.ticketList = ticketList;
	}

	public Integer getIsCollect() {
		return isCollect;
	}

	public void setIsCollect(Integer isCollect) {
		this.isCollect = isCollect;
	}

	public String getPcateName() {
		return pcateName;
	}

	public void setPcateName(String pcateName) {
		this.pcateName = pcateName;
	}

	public String getCcateName() {
		return ccateName;
	}

	public void setCcateName(String ccateName) {
		this.ccateName = ccateName;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Integer getIsVirtual() {
		return isVirtual;
	}

	public void setIsVirtual(Integer isVirtual) {
		this.isVirtual = isVirtual;
	}

	public Date getExpiredDate() {
		return expiredDate;
	}

	public void setExpiredDate(Date expiredDate) {
		this.expiredDate = expiredDate;
	}

	public Integer getServiceDays() {
		if (expiredDate != null) {
			int betweenDays = DateUtils.longOfTwoDate(expiredDate);
			if (betweenDays < 0) {
				return 0;
			}
			return betweenDays;
		}
		return 0;
	}

	public void setServiceDays(Integer serviceDays) {
		this.serviceDays = serviceDays;
	}

	public Integer getChargeType() {
		return chargeType;
	}

	public void setChargeType(Integer chargeType) {
		this.chargeType = chargeType;
	}

	public Long getRenewMid() {
		return renewMid;
	}

	public void setRenewMid(Long renewMid) {
		this.renewMid = renewMid;
	}

	public String getGzhAppid() {
		return gzhAppid;
	}

	public void setGzhAppid(String gzhAppid) {
		this.gzhAppid = gzhAppid;
	}

	public String getGzhSecret() {
		return gzhSecret;
	}

	public void setGzhSecret(String gzhSecret) {
		this.gzhSecret = gzhSecret;
	}

	public String getTerminalIds() {
		return terminalIds;
	}

	public void setTerminalIds(String terminalIds) {
		this.terminalIds = terminalIds;
	}

	public String getIndustryId() {
		return industryId;
	}

	public void setIndustryId(String industryId) {
		this.industryId = industryId;
	}
}